﻿<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output method="text"/>
  
  <xsl:template match="/information-list"><xsl:for-each select="information">FileList<xsl:value-of select="position()"/>=""<xsl:value-of select="identifier"/>","<xsl:value-of select="version"/>","<xsl:value-of select="check-value"/>","<xsl:value-of select="description"/>"<xsl:for-each select="option/item">,"<xsl:value-of select="."/>"</xsl:for-each>"
</xsl:for-each>
  </xsl:template>

</xsl:stylesheet>

